package com.qfedu.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 租户表
 * </p>
 *
 * @author xiaobobo
 * @since 2024-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qf_tenant")
@ApiModel(value="Tenant对象", description="租户表")
public class Tenant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "租户用户名")
    private String name;

    @ApiModelProperty(value = "租户密码")
    private String pwd;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "公司工商执照编码")
    private String companyCode;

    @ApiModelProperty(value = "是否可用, 1可用, 2不可用")
    private Integer enable;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删标识  0未删除  1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户key")
    private String accessKey;

    @ApiModelProperty(value = "租户秘钥")
    private String accessSecurit;

    @ApiModelProperty(value = "审核状态,0待审核, 1通过, 2不通过")
    private Integer auditStatus;

    @ApiModelProperty(value = "租户手机号")
    private String phone;


}
